package com.syx.friend.Service;

import com.syx.commoncore.Model.Result;
import com.syx.commoncore.Model.TableDataInfoResult;
import com.syx.friend.Model.question.DTO.QuestionQueryDTO;
import com.syx.friend.Model.question.VO.QuestionDetailVO;
import com.syx.friend.Model.question.VO.QuestionVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IQuestionService {
    TableDataInfoResult list(QuestionQueryDTO questionQueryDTO);


    Result<QuestionDetailVO> detail(Long questionId);

    Result<String> preQuestion(Long questionId);

    Result<String> nextQuestion(Long questionId);

    Result<List<QuestionVO>> hotList();

}
